package com.yhy.wxzn.wms.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 出库单
 * @Author: jeecg-boot
 * @Date:   2023-11-08
 * @Version: V1.0
 */
@Data
@TableName("wms_pick_order")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_pick_order对象", description="出库单")
public class WmsPickOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**订单类型*/
	@Excel(name = "订单类型", width = 15)
    @ApiModelProperty(value = "订单类型")
    @Dict(dicCode = "wms_order_type")
    private java.lang.String orderType;
	/**单据编码*/
	@Excel(name = "单据编码", width = 15)
    @ApiModelProperty(value = "单据编码")
    private java.lang.String code;
	/**外部单号*/
	@Excel(name = "外部单号", width = 15)
    @ApiModelProperty(value = "外部单号")
    private java.lang.String outerNo;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15)
    @ApiModelProperty(value = "单据状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer orderStatus;
	/**订单时间*/
	@Excel(name = "订单时间", width = 15)
    @ApiModelProperty(value = "订单时间")
    private java.util.Date orderDate;
	/**备货库位*/
	@Excel(name = "备货库位", width = 15)
    @ApiModelProperty(value = "备货库位")
    private java.lang.String shipLocationId;
    private transient java.lang.String shipLocationCode;
	/**过账状态*/
	@Excel(name = "过账状态", width = 15)
    @ApiModelProperty(value = "过账状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsSyncStatusEnums}
     * */
    @Dict(dicCode = "wms_sync_status")
    private java.lang.Integer syncStatus;
    /**分配状态*/
    @Excel(name = "分配状态", width = 15)
    @ApiModelProperty(value = "分配状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer allocateStatus;
    /**发货状态*/
    @Excel(name = "发货状态", width = 15)
    @ApiModelProperty(value = "发货状态")
    /**
     * {@link com.yhy.wxzn.common.enums.WmsOrderStatusEnums}
     * */
    @Dict(dicCode = "wms_order_status")
    private java.lang.Integer shipStatus;
    //总数量
    private transient BigDecimal demonQty;
    //分配数量
    private transient BigDecimal allocateQty;
    //拣货数量
    private transient BigDecimal pickedQty;
    //发货数量
    private transient BigDecimal shipQty;
}
